package com.lyl.domaindemo.resource.user.dto.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;


/**
 * @author lyl
 * @date 2023/5/19
 */

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserRequest {

    @JsonProperty(value = "id")
    private Long id;

    @JsonProperty(value = "user_name")
    private String username;

    @JsonProperty(value = "password")
    private String password;

    @JsonProperty(value = "sex")
    private Integer sex;
}
